<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page import="com.yaodian100.ec.supplierapply.entity.NewSupplierApply"%>
<%@page import="java.util.List"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<%@page import="com.yaodian100.core.common.utils.ServerValue"%>
<c-rt:set var="frontContextPath" value='<%=ServerValue.getFrontContextPath()%>'/>
<c-rt:set var="supplierUrl" value='http://supplier.yaodian100.com/simplified_version'/>
<link rel="stylesheet" type="text/css" title="Style" href="${supplierUrl}/yaodian100.css"> 
 <!--地址选单 -->
<script type="text/javascript" charset="UTF-8" src="/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="/genJS/yaodian_zipcode.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/jquery.cascade.ext.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/jquery.cascade.js"></script>
<script type="text/javascript" charset="UTF-8" src="/js/jquery.templating.js"></script>
<script src="${supplierUrl}/js_source/AC_RunActiveContent.js" type="text/javascript"></script> 

<style type="text/css">
.errmsg{background-color:#fbeef7;border:1px solid #cf2f6f;}
input{font-size: 12px;font-family: Verdana;background-color: #FFFFFF;color: #D02D6E;border-width:1px;border-style:solid;border-color:#FBC6D5 }
textarea{font-size: 12px;font-family: Verdana;background-color: #FFFFFF;color: #D02D6E;border-width:1px;border-style:solid;border-color:#FBC6D5 }
select{font-size: 12px;font-family: Verdana;background-color: #FFFFFF;color: #D02D6E;border-width:1px;border-style:solid;border-color:#FBC6D5 }
.contact_wo003P{width:10px;hialign:left;height:20px;}
</style>

<script language="javascript">
$().ready( function() {
		set_ddl_date(1911);	
		$.each(provinceArray,function(index, item){
			$("#coprovince").append("<option value='" + item.Value + "'>" + item.Text + "</option>"); //供应商地址		    
		  });
		jQuery("#cocity").cascade("#coprovince",{//供应商地址					
			list : cityArray,				
			template: commonTemplate,
			match: commonMatch 
		});
		
		jQuery("#codistrict").cascade("#cocity",{//供应商地址					
			list: districtArray,
			template: commonTemplate,
			match: commonMatch 
		});

		
		$("#saveBtn").click(function() {
			if ( "" == $("#companyName").val() ){
				alert(" 请输入公司名称 ");
				$("#companyName").focus(); 
				return false;
			}

			if ( "" == $("#companyNum").val() ){
				alert(" 请输入公司营业执照注册号 ");
				$("#companyNum").focus(); 
				return false;
			}

			if ( "" == $("#ownerName").val() ){
				alert(" 请输入负责人姓名 ");
				$("#ownerName").focus(); 
				return false;
			}

			if ( "" == $("#companyemployee").val() ){
				alert("请输入公司人数 ");
				$("#companyemployee").focus(); 
				return false;
			}
		
			if ( $("#companyemployee").val().match(/^[1-9]\d*$/)==null){
				alert("公司人数只能為整數 ");
				$("#companyemployee").focus(); 
				return false;
			}
			
			if ( "" == $("#companycapital").val() ){
				alert("请输入公司资本额 ");
				$("#companycapital").focus(); 
				return false;
			}
			if ( $("#companycapital").val().match(/^([+-]?)\d*\.?\d+$/)==null){
				alert("公司资本额只能為數字 ");
				$("#companycapital").focus(); 
				return false;
			}
			if ( "" == $("#esyear").val() && "" != $("#esmonth").val() ){
				alert("请选择年份 ");
				$("#esyear").focus(); 
				return false;
			}
			if("" == $("#esmonth").val() && "" != $("#esyear").val()){
				alert("请选择月份 ");
				$("#esmonth").focus(); 
				return false;
			}

			if ( "" == $("#taxInvoice").val() ){
				alert("请选择纳税人性质／发票性质 ");
				$("#taxInvoice").focus(); 
				return false;	
			}

			if ( "" == $("#companyPhone").val() ){
				alert("请输入公司电话 ");
				$("#companyPhone").focus(); 
				return false;	
			}

			if ( $("#companyPhone").val().match(/\d{3}-\d{8}|\d{4}-\d{7}/)==null){
				alert("请输入正确的公司电话号码");
				$("#companyPhone").focus(); 
				return false;
			}			
			
			if ( "" == $("#coprovince").val()){
				alert("请选择省份 ");
				$("#coprovince").focus(); 
				return false;
			}
			if ( "" == $("#cocity").val()){
				alert("请选择市");
				$("#cocity").focus(); 
				return false;
			}

			if ( "" == $("#codistrict").val()){
				alert("请选择区");
				$("#codistrict").focus(); 
				return false;
			}
			if ("" == $("#cozip").val()){
				alert("请输入邮编");
				$("#cozip").focus(); 
				return false;
			}
			if ($("#cozip").val().match(/^[1-9]\d*$/)==null){
				alert("请输入正确的邮编编号");
				$("#cozip").focus(); 
				return false;
			}
			
			if ("" == $("#companyAddress").val()){
				alert("请输入地址");
				$("#companyAddress").focus(); 
				return false;
			}

			if ( "" == $("#companyabout").val() ){
				alert("请输入公司简述");
				$("#companyabout").focus(); 
				return false;
			}
			if ($("#companyabout").val().length>40 ){
				alert("<公司简述>不能大于40个字");
				$("#companyabout").focus(); 
				return false;
			}

			if ( "" == $("#contactName").val() ){
				alert("请输入联络人姓名");
				$("#contactName").focus(); 
				return false;
			}

			if ( "" == $("#contactPhone").val() ){
				alert("请输入联络人电话");
				$("#contactPhone").focus(); 
				return false;
			}
			if ( $("#contactPhone").val().match(/\d{3}-\d{8}|\d{4}-\d{7}/)==null){
				alert("请输入正确的联络人电话号码");
				$("#contactPhone").focus(); 
				return false;
			}	
			if ( "" == $("#contactEmail").val() ){
				alert("请输入联络人E-mail");
				$("#contactEmail").focus(); 
				return false;
			}
			
			if($("#contactEmail").val().match(/.+@.+\..+/)==null || $("#contactEmail").val().indexOf(' ')>=0 ){
				alert("请输入正确的E-mail");
				$("#contactEmail").focus(); 
				return false;
			}

			if ( "" == $("#recommendproduct").val() ){
				alert("请输入最推荐的强力商品");
				$("#recommendproduct").focus(); 
				return false;
			}
			if ($("#recommendproduct").val().length>200 ){
				alert("<最推荐的强力商品>不能大于200个字");
				$("#recommendproduct").focus(); 
				return false;
			}	
				
			if ( "" == $("#category").val() ){
				alert("请选择最希望上架的类别");
				$("#category").focus(); 
				return false;
			}
			
			if ($("#note").val().length>200 ){
				alert("<其它说明>不能大于200个字");
				$("#note").focus(); 
				return false;
			}	
			
			if(""== $("#chk_code").val()){
				alert("请输入验证码");
				$("#chk_code").focus(); 
				return false;
			}
			
			if ( formObj.chk_code.value!= formObj.turecode.value ){ 
				alert("请确认验证码输入是否有误");
				$("#chk_code").focus(); 
				return false;
			}
			
			if ( "" == $("#image").val() && "" != $("#imageDecription").val()){
				alert("您已填<档案一>说明，但未上传档案");
				$("#image").focus(); 
				return false;
			}

			if("" != $("#image").val() && "" == $("#imageDecription").val()){
				alert("您已上传<档案一>，但未填档案说明");
				$("#imageDecription").focus(); 
				return false;
			}


			if ( "" == $("#image1").val() && "" != $("#imageDecription1").val()){
				alert("您已填<档案二>说明，但未上传档案");
				$("#image1").focus(); 
				return false;
			}
			
			if("" != $("#image1").val() && "" == $("#imageDecription1").val()){
				alert("您已上传<档案二>，但未填档案说明");
				$("#imageDecription1").focus(); 
				return false;
			}

			if ( "" == $("#image2").val() && "" != $("#imageDecription2").val() ){
				alert("您已填<档案三>说明，但未上传档案");
				$("#image2").focus(); 
				return false;
			}

			if("" != $("#image2").val() && "" == $("#imageDecription2").val()){
				alert("您已上传<档案三>，但未填档案说明");
				$("#imageDecription2").focus(); 
				return false;
			}

			if ( "" == $("#image3").val() && "" != $("#imageDecription3").val() ){
				alert("您已填<档案四>说明，但未上传档案");
				$("#image3").focus(); 
				return false;
			}

			if("" != $("#image3").val() && "" == $("#imageDecription3").val()){
				alert("您已上传<档案四>，但未填档案说明");
				$("#imageDecription3").focus(); 
				return false;
			}

			if ( "" == $("#image4").val() && "" != $("#imageDecription4").val() ){
				alert("您已填<档案五>说明，但未上传档案");
				$("#image4").focus(); 
				return false;
			}
			
			if("" != $("#image4").val() && "" == $("#imageDecription4").val()){
				alert("您已上传<档案五>，但未填档案说明");
				$("#imageDecription4").focus(); 
				return false;
			}

			
			if("" != $("#image").val()){
				if ( $("#image").val() == $("#image1").val()||$("#image").val() == $("#image2").val()||("#image").val() == $("#image3").val()||("#image").val() == $("#image4").val()){
					alert("<档案一>名稱重覆");
					$("#image").focus(); 
					return false;
				}
			}

			if("" != $("#image1").val()){
				if ($("#image1").val() == $("#image2").val()||("#image1").val() == $("#image3").val()||("#image1").val() == $("#image4").val()){
					alert("<档案二>名稱重覆");
					$("#image1").focus(); 
					return false;
				}
			}
	
			if("" != $("#image2").val()){
				if ($("#image2").val()== $("#image3").val()||("#image2").val() == $("#image4").val()){
					alert("<档案三>名稱重覆");
					$("#image2").focus(); 
					return false;
				}
			}
			if("" != $("#image3").val()){
				if ($("#image3").val()== $("#image4").val()){
					alert("<档案四>名稱重覆");
					$("#image3").focus(); 
					return false;
				}
			}

			$('#formObj').submit();	
		});
		
	});
	function commonTemplate(item) {
		return "<option value='" + item.Value + "'>" + item.Text + "</option>"; 
	}
	function commonMatch(selectedValue) {
		return this.When == selectedValue; 
	}
			
	function set_ddl_date(year_start){  
		var now = new Date();    
		//年(year_start~今年)  
		for(var i = now.getFullYear(); i >= year_start; i--){ 
		$('#esyear').  
		append($("<option></option>"). 
		attr("value",i).  
		text(i));  
		}   

		//月  
		for(var i = 1; i <= 12; i++){  
		$('#esmonth').  
		append($("<option></option>").  
		attr("value",i).  
		text(i));  
		}
		
	}

	 function randomfun(){
        randary = new Array( 0,1,2,3,4,5,6,7,8,9,"A","B","C","D","E",0,"F","G","H","I","J",1,"K","L","M","N","O",2,"P","Q","R","S","T",3,"U","V","W","X","Y",4,"Z","a","b","c","d",5,"e","f","g","h","i",6,"j","k","l","m","n",7,"o","p","q","r","s",8,"t","u","v","w","x",9,"y","z" );
	  	var i,y;
	  	var chkword = new Array(5);
    	var temp="";
	  	/*x = Math.random()*63; */
        for( i =0 ; i <6 ; i++ )
	     {
	        y = Math.floor( Math.random()*63 );//無條件捨去後面的小數
            chkword[i] = randary[y];
			document.write( chkword[i]," " );
            temp += String( chkword[i] );
	     } 
		 document.write("<input type=hidden name=turecode value="+temp+">");
	  }
</script>

<table width="950" border="0" align="center" cellpadding="0" cellspacing="0"> 
  <tr> 
    <td align="center"><script type="text/javascript"> 
		AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','950','height','345','src','${supplierUrl}/swf/main_show','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','${supplierUrl}/swf/main_show','wmode', 'transparent','menu','0'); //end AC code
		</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="950" height="345">
      <param name="movie" value="${supplierUrl}/swf/main_show.swf">
      <param name="quality" value="high">
      <param name="wmode" value="transparent">
      <param name="menu" value="0">
      <embed src="${supplierUrl}/swf/main_show.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="950" height="345"></embed>
    </object></noscript> 
	  <table width="100%" height="20" border="0" cellpadding="0" cellspacing="0" background="${supplierUrl}/catch/page_usepic_001.jpg"> 
	    <tr> 
	      <td>&nbsp;</td> 
	    </tr>
	  </table> 
  	<br> 
	  <table width="890" height="56" border="0" cellpadding="0" cellspacing="0" > 
	    <tr> 
	      <td width="155" valign="bottom"><a href="http://supplier.yaodian100.com/" target="_blank"></a></td> 
	      <td align="right" valign="bottom" background="${supplierUrl}/images/page_pic01_001.jpg" style="padding-right: 11px;"><a href="${supplierUrl}/yaodian100.html"><img src="${supplierUrl}/images/function_item004.gif" width="114" height="30" border="0" onMouseOver="javascript: this.src='${supplierUrl}/images/function_item004_f2.gif'" onMouseOut="javascript: this.src='${supplierUrl}/images/function_item004.gif'"></a><img src="${supplierUrl}/catch/1_alpha_point.gif" width="2" height="1"><a href="${supplierUrl}/qanda.html"><img src="${supplierUrl}/images/function_item005.gif" width="114" height="30" border="0" onMouseOver="javascript: this.src='${supplierUrl}/images/function_item005_f2.gif'" onMouseOut="javascript: this.src='${supplierUrl}/images/function_item005.gif'"></a><img src="${supplierUrl}/catch/1_alpha_point.gif" width="2" height="1"><a href="http://www.yaodian100.com/" target="_blank"><img src="${supplierUrl}/images/function_item006.gif" width="114" height="30" border="0" onMouseOver="javascript: this.src='${supplierUrl}/images/function_item006_f2.gif'" onMouseOut="javascript: this.src='${supplierUrl}/images/function_item006.gif'"></a></td> 
	    </tr> 
	  </table> 
	  <table width="890" border="0" cellpadding="0" cellspacing="0" bgcolor="#F34071"> 
	    <tr> 
	      <td><img src="${supplierUrl}/catch/1_alpha_point.gif" width="1" height="7"></td> 
	    </tr> 
	  </table> 
    <br> 
    <br> 
    <table width="890" border="0" cellpadding="0" cellspacing="0"> 
      <tr> 
        <td><img src="${supplierUrl}/images/contact/page01_pic01_001.jpg" width="438" height="37"></td> 
      </tr> 
    </table> 
    <br> 
    <br> 
	 <table width="890" border="0" cellpadding="0" cellspacing="0"> 
      <tr> 
        <td width="94">&nbsp;</td> 
        <td class="contact_wo001"><img src="${supplierUrl}/images/contact/page01_pic01_002.jpg" width="188" height="92"><img src="${supplierUrl}/images/contact/page01_pic01_003.jpg" width="72" height="38" align="absmiddle"><img src="${supplierUrl}/images/contact/page01_pic01_004.jpg" width="188" height="92"><img src="${supplierUrl}/images/contact/page01_pic01_003.jpg" width="72" height="38" align="absmiddle"><img src="${supplierUrl}/images/contact/page01_pic01_005.jpg" width="188" height="92"><br> 
          <br> 
          <span style="padding-left: 25px;"><span class="contact_wo002">耀点100</span> 诚挚的欢迎您的加入，请完整填写以下相关的联系数据，一周内我们将有专人与您联系，麻烦请留下</span><br> 
          <span style="padding-left: 25px;">您的基本合作资料。</span></td> 
      </tr> 
    </table> 
    
	<s:form name="formObj" id="formObj" action="save.do" method="post" enctype ="multipart/form-data">

<table  width="780" border="0" cellpadding="0" cellspacing="0" class="contact_bg001" style="padding-left:60px;">
	<tr><td colspan="2" height="80px"></td></tr>
	<tr><td colspan="2" ><img src="${supplierUrl}/images/contact/page01_pic01_008.gif" width="11" height="10" align="absmiddle"><span class="contact_wo002">公司基本资料</span><br><br></td> </tr>
	<tr>
		<td class="contact_wo003" width="22%"  ><span style="color:red">* </span>公 司 名 称</td>
		<td >
		   	<s:textfield name="newsupplierapply.companyName" id="companyName" size="56" maxlength="80"/>
			<span id="companyNameMsg"></span><br> 
		</td>
	</tr>
	<tr>
		<td class="contact_wo003"><span style="color:red">* </span>营业执照号</td>
		<td>
			<s:textfield name="newsupplierapply.companyNum" id="companyNum" size="56" maxlength="35"/>
			<span id="companyNumMsg"></span><br> 
		</td>
	</tr>
	
	<tr>
		<td class="contact_wo003"><span style="color:red">* </span>负责人姓名</td>
		<td>
			<s:textfield name="newsupplierapply.ownerName" id="ownerName" size="56" maxlength="30"/>
			<span id="ownerNameMsg"></span><br> 
		</td>
	</tr>
	<tr>
		<td class="contact_wo003"><span style="color:red">* </span>公 司 人 数</td>
		<td class="contact_wo003">
			<s:textfield name="newsupplierapply.companyemployee" id="companyemployee" size="10" maxlength="10"/>人
			<span id="companyemployeeMsg"></span><br> 
		</td>
	</tr>
	<tr>
		<td class="contact_wo003"><span style="color:red">* </span>公司资本额</td>
		<td class="contact_wo003">
			<s:textfield name="newsupplierapply.companycapital" id="companycapital" size="10" maxlength="50"/>万元
			<span id="companycapitalMsg"></span><br> 
		</td>
	</tr>
	<tr>
		<td class="contact_wo003">　成 立 时 间</td>
		<td>
			<select name="esyear" id="esyear"><option value="" >年</option></select>
			<select name="esmonth" id="esmonth"><option value="" >月</option></select>
			<span id="dateMsg"></span><br> 
		</td>
		
	</tr>
	<tr>
		<td class="contact_wo003"><span style="color:red">* </span>纳税人/发票性质</td>
		<td>
			<s:select name="newsupplierapply.taxInvoice" id="taxInvoice" list="menuTaxInvoice.options" headerKey="" headerValue="请选择" listKey="key" listValue="value.name"/>
			<span id="taxInvoiceMsg"></span><br> 
		</td>
	</tr>
	<tr>
		<td class="contact_wo003"><span style="color:red">* </span>公 司 电 话</td>
		<td>
			<s:textfield name="newsupplierapply.companyPhone" id="companyPhone" size="56" maxlength="56"/><span class="contact_wo003">
			<span id="companyPhoneMsg"></span><br> 
		</td>
	</tr>
	<tr>
		<td class="contact_wo003">　公 司 传 真</td>
		<td>
			<s:textfield name="newsupplierapply.companyFax" id="companyFax" size="56" maxlength="50"/><br> 
		</td>
	</tr>
	<tr>
		<td class="contact_wo003"><span style="color:red">* </span>公 司 地 址</td>
		<td  class="contact_wo003">
			<select id="coprovince" name="newsupplierapply.companyProvince" class="c-prov"><option value="">== 选择省 ==</option></select>
			<select id="cocity" name="newsupplierapply.companyCity"><option value="">== 选择城市 ==</option></select>
			<select id="codistrict" name="newsupplierapply.companyArea"><option value="">== 选择地区 ==</option></select><span id="addSelectMsg"></span><br />
			邮编:<s:textfield name="newsupplierapply.companyZip" id="cozip" size="6" maxlength="6"/>
			 <s:textfield name="newsupplierapply.companyAddress" id="companyAddress" size="41" maxlength="80"/>
			<span id="addMsg"><br> </span>
		</td>
	</tr>
	<tr>
		<td class="contact_wo003">　公 司 网 址</td>
		<td><s:textfield name="newsupplierapply.companywebsite" id="companywebsite" size="56"/></td>
	</tr>
	<tr>
		<td class="contact_wo003"><span style="color:red">* </span>公 司 简 述</td>
		<td class="contact_wo003">
			<s:textarea name="newsupplierapply.companyabout" id="companyabout"  rows="2" cols="56" />40个字以内
			<span id="companyaboutMsg"></span><br> 
		</td>
	</tr>
	
	<tr><td colspan="2" height="20"><img src="${supplierUrl}/images/contact/page01_pic01_007.gif" width="621" height="1"><br></td></tr>
	<tr><td colspan="2"><img src="${supplierUrl}/images/contact/page01_pic01_008.gif" width="11" height="10" align="absmiddle">
		<span class="contact_wo002">申请资料</span><br><br> 
    	</td> 
    </tr>
	<tr>
		<td class="contact_wo003"><span style="color:red">* </span>联络人姓名</td>
		<td>
			<s:textfield name="newsupplierapply.contactName" id="contactName" size="56" maxlength="50"/>
			<span id="contactNameMsg"></span><br> 
		</td>
	</tr>
	<tr>
		<td class="contact_wo003"><span style="color:red">* </span>联络人电话</td>
		<td>
			<s:textfield name="newsupplierapply.contactPhone" id="contactPhone" size="56" maxlength="50"/>
			<span id="contactPhoneMsg"></span><br> 
		</td>
	</tr>
	</table>
    <table  width="780"  class="contact_bg002" style="padding-left: 60px;" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td class="contact_wo003"  width="22%">　联络人传真</td>
		<td>
			<s:textfield name="newsupplierapply.contactFax" id="contactFax" size="56" maxlength="50"/><br> 
		</td>
	</tr>
	<tr>
		<td class="contact_wo003">　联络人地址</td>
		<td>
			<s:textfield name="newsupplierapply.contactAddress" id="contactAddress" size="56" maxlength="80"/><br> 
		</td>
	</tr>
	<tr>
		<td class="contact_wo003"><span style="color:red">* </span>联络人Email</td>
		<td>
			<s:textfield name="newsupplierapply.contactEmail" id="contactEmail" size="56" maxlength="100"/>
			<span id="contactEmailMsg"></span><br> 
		</td>
	</tr>
	<tr>
		<td class="contact_wo003"><span style="color:red">* </span>最推荐商品</td>
		<td class="contact_wo003">
			<s:textarea name="newsupplierapply.recommendproduct" id="recommendproduct" rows="3" cols="56"/>200字以内
			<span id="recommendproductMsg"></span><br>	
		</td>
	</tr>	
	<tr>
		<td class="contact_wo003">　档案一上传</td>
		<td>
			<s:file id="image" name="image" value="" ></s:file> 档案说明:<input id="imageDecription" type="text" name="imageDecription" /><span id="fileMsg_1"></span><br />
		</td>
	</tr>
	<tr>
		<td class="contact_wo003">　档案二上传</td>
		<td>
			<s:file id="image1" name="image1" value="" ></s:file> 档案说明:<input id="imageDecription1" type="text" name="imageDecription1" /><span id="fileMsg_2"></span><br />
		</td>
	</tr>
	<tr>
		<td class="contact_wo003">　档案三上传</td>
		<td>
			<s:file id="image2" name="image2" value="" ></s:file> 档案说明:<input id="imageDecription2" type="text" name="imageDecription2" /><span id="fileMsg_3"></span><br />	
		</td>
	</tr>
	<tr>
		<td class="contact_wo003">　档案四上传</td>
		<td>		
			<s:file id="image3" name="image3" value=""></s:file> 档案说明:<input id="imageDecription3" type="text" name="imageDecription3" /><span id="fileMsg_4"></span><br />
		</td>
	</tr>
	<tr>
		<td class="contact_wo003">　档案五上传</td>
		<td>	
			<s:file id="image4" name="image4" value="" ></s:file> 档案说明:<input id="imageDecription4" type="text" name="imageDecription4" /><span id="fileMsg_5"></span><br />
		</td>
	</tr>
	<tr>
		<td></td>
		<td>	
			<span class="txt-rd">(建议档案大小为1MB以內)</span>
			<br> 
		</td>
	</tr>

	<tr>
		<td class="contact_wo003"><span style="color:red">* </span>最希望上架类别</td>
		<td class="contact_wo003">
			<s:select list="rootCategories" name="newsupplierapply.category" id="category" headerKey="" headerValue="请选择" listKey="id" listValue="aliasName" />	
			馆<span id="categoryMsg"></span>	
			<br> 
		</td>
	</tr>
	<tr>
		<td class="contact_wo003">　附选上架类别</td>
		<td class="contact_wo003">
			<s:select list="rootCategories" name="newsupplierapply.categoryother1" headerKey="" headerValue="请选择" listKey="id" listValue="aliasName" />馆<br />		
			<s:select list="rootCategories" name="newsupplierapply.categoryother2" headerKey="" headerValue="请选择" listKey="id" listValue="aliasName" />馆	
			<br> 
		</td>
	</tr>
	<tr>
		<td class="contact_wo003">　其 它 说 明</td>
		<td class="contact_wo003"><s:textarea name="newsupplierapply.note" id="note" rows="3" cols="56"/>200字以内<br></td>
	</tr>
	<tr>
	 		<td class="contact_wo003">　验 证 号 码</td> 
	           <td valign="top" class="contact_wo004">
	              <table width="100%" height="42" border="0" cellpadding="0" cellspacing="0"> 
		               <tr> 
		                  <td width="180" valign="top">
		                  <table width="200" height="34" border="0" cellpadding="0" cellspacing="1" bgcolor="#D02D6E"> 
		                 	<tr> 
		               			<td align="center" bgcolor="#F891AE" class="contact_wo008"><script language="Javascript">randomfun();</script></td> 
		            		</tr> 
		          		</table>
		         	 	</td> 
		        		<td valign="top" class="contact_wo003" style="padding-top: 11px;">(验证码大小写有差喔!!)</td> 
		      		</tr> 
	      		 </table>
	  		 </td>
	</tr>
	<tr>
		<td></td>
		<td>
            <input name="chk_code" id="chk_code" type="text" id="chk_code" size="56" value="">
			<span id="chkcodeMsg"></span>
			<br> 
		</td>	
	</tr>
	<tr> 
		<td align="center" colspan="2" style="padding-top:15px;"><input id="saveBtn" type="image" src="${supplierUrl}/images/contact/function_item001.gif" width="142" height="37" border="0" onMouseOver="javascript: this.src='${supplierUrl}/images/contact/function_item001_f2.gif'" onMouseOut="javascript: this.src='${supplierUrl}/images/contact/function_item001.gif'">
		</td>
	</tr>	
</table>
</s:form>
	<img src="${supplierUrl}/catch/1_alpha_point.gif" width="1" height="20"><br> 
          <table width="690" border="0" cellpadding="0" cellspacing="0"> 
            <tr> 
              <td align="right" class="contact_wo005"><span class="contact_wo007">耀点100</span> 感谢您的填写  我们将依照您的联络信息尽速回复您!!　<a href="#"><img src="${supplierUrl}/images/function_item007.gif" width="49" height="19" align="absmiddle" border="0" onMouseOver="javascript: this.src='${supplierUrl}/images/function_item007_f2.gif'" onMouseOut="javascript: this.src='${supplierUrl}/images/function_item007.gif'"></a></td> 
            </tr> 
          </table> 
	    <br> 
	    <br> 
		    <table width="770" border="0" cellpadding="0" cellspacing="0"> 
		      <tr> 
		        <td align="right"><img src="${supplierUrl}/images/page_pic01_002.gif" width="295" height="36"></td> 
		      </tr> 
		    </table>
</td></tr></table>	
    	</td>
    </tr>
</table>

<table width="950" border="0" align="center" cellpadding="0" cellspacing="0"> 
  <tr> 
    <td bgcolor="#F9AABE"><img src="${supplierUrl}/catch/1_alpha_point.gif" width="1" height="7"></td> 
  </tr> 
  <tr> 
    <td><img src="${supplierUrl}/catch/1_alpha_point.gif" width="1" height="4"></td> 
  </tr> 
  <tr> 
    <td height="49" valign="top" background="${supplierUrl}/catch/page_usepic_002.gif">
	    <table width="867" height="35" border="0" cellpadding="0" cellspacing="0"> 
	      <tr> 
	        <td width="644" align="right" valign="bottom" class="copy_wo001"><strong>耀点100版权所有</strong> Copyright© Yaodian100.com  All Rights Reserved.</td> 
	        <td align="right" valign="bottom" class="copy_wo001"><strong>‧<a href="${supplierUrl}/copyright.html">版权宣言</a>‧</strong></td> 
	      </tr> 
	    </table>
    </td> 
</table>
